package cn.ytr.crm.service;

import cn.ytr.crm.domain.Role;
import cn.ytr.crm.query.PageResult;
import cn.ytr.crm.query.QueryObject;

import java.util.List;

public interface IRoleService {
	void saveOrUpate(Role role, Long[] permissionIds);
	void delete(Long id);
	Role get(Long id);
	List<Role> listAll();
	
	//高级查询
	PageResult query(QueryObject qo); 

	
}
